package xupt.com.bolg.service;

import org.springframework.stereotype.Service;
import xupt.com.bolg.entity.User;

import java.util.List;
@Service
public interface UserService {
    boolean deleteByID(Integer id);
    boolean saveUser(User user);
    User findByName(String name);
    User findByID(Integer id);
    boolean update(User  user);
    List<User>findAll();
    Integer count();
    User findByEmail(String email);
}
